package workbench.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import workbench.dao.CustomerDao;
import workbench.domain.Customer;
import workbench.service.CustomerService;

import java.util.List;

@Service
public class CustomerServiceImpl implements CustomerService {
    @Autowired
    private CustomerDao customerDao;
    public List<String> getCustomerName(String name){
        List<String> customers=customerDao.getCustomerName(name);
        return customers;
    }
}
